package com.example.demo.test;


import java.util.Map;

/**
 * 传送带类工序
 */
public abstract class TransferAbstractWorkProcess extends AbstractWorkProcess {


    /**
     * 参数
     */
    private Map<String,Object> parameters;

    public TransferAbstractWorkProcess(String name, String description){
        super(name,description);
    }


    @Override
    public boolean getCurrentMaterial() {
        if(getMaterial() != null){
            return true;
        }
        return false;
    }

    @Override
    public void addMaterial(Material material) {
        setMaterial(material);
    }


}
